home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Content Filter / Proxomitron.exe / file0006.bin < prev    next >
Encoding:
Text File  |  1999-10-17  |  12.5 KB  |  516 lines

  1. ##
  2. ## Proxomitron Config File
  3. ##
  4.  
  5. [Global]
  6. Enable = TRUE
  7. FreezeGIF = TRUE
  8. FilterHTML = TRUE
  9. FilterHeadersOut = TRUE
  10. FilterHeadersIn = TRUE
  11. EnableProxy = FALSE
  12. EnableAutoRun = FALSE
  13. ForceTextures = FALSE
  14. NoTextures = FALSE
  15. SysTray = TRUE
  16. Port = 8080
  17.  
  18. [HTTP headers]
  19. In = FALSE
  20. Out = TRUE
  21. Key = "Accept-encoding: prevent webpage encoding (out)"
  22. Match = "*"
  23.  
  24. In = FALSE
  25. Out = FALSE
  26. Key = "Authorization: Example password entry (out)"
  27. URL = "www.needspassword.com/this/area/protected.html"
  28. Replace = "basic bWljaGllOm5lb24temVicmE="
  29.  
  30. In = TRUE
  31. Out = FALSE
  32. Key = "Content-Type: character set filter (in)"
  33. Match = "text/html;*charset*"
  34. Replace = "text/html"
  35.  
  36. In = TRUE
  37. Out = FALSE
  38. Key = "Content-Type: Fix Javascript mime types"
  39. URL = "*.js(^?)"
  40. Match = "text/plain"
  41. Replace = "text/javascript"
  42.  
  43. In = TRUE
  44. Out = FALSE
  45. Key = "Content-Type: Fix MIDI mime types"
  46. URL = "*.mid((^?)|#)"
  47. Match = "text/plain"
  48. Replace = "audio/mid"
  49.  
  50. In = TRUE
  51. Out = FALSE
  52. Key = "Content-Type: Fix MP3 mime types"
  53. URL = "*.mp3((^?)|#)"
  54. Match = "text/plain"
  55. Replace = "audio/x-mpeg"
  56.  
  57. In = FALSE
  58. Out = FALSE
  59. Key = "Content-Type: Show contents of .pac files"
  60. Match = "application/x-ns-proxy-autoconfig"
  61. Replace = "text/plain"
  62.  
  63. In = FALSE
  64. Out = FALSE
  65. Key = "Content-Type: View RealAudio links"
  66. Match = "*realaudio*"
  67. Replace = "text/html"
  68.  
  69. In = FALSE
  70. Out = FALSE
  71. Key = "Cookie: Fake a cookie (out)"
  72. Match = "*"
  73. Replace = "monster"
  74.  
  75. In = FALSE
  76. Out = FALSE
  77. Key = "Cookie: Kill a cookie (out)"
  78. Match = "*"
  79.  
  80. In = FALSE
  81. Out = FALSE
  82. Key = "Forwarded:"
  83. Replace = "\h"
  84.  
  85. In = FALSE
  86. Out = FALSE
  87. Key = "If-Modified-Since: Always reload pages (Out)"
  88. Match = "*"
  89.  
  90. In = FALSE
  91. Out = FALSE
  92. Key = "Last-Modified: (In)"
  93. Match = "*"
  94.  
  95. In = FALSE
  96. Out = FALSE
  97. Key = "Pragma: Don't force reloads"
  98. Match = "no-cache"
  99.  
  100. In = FALSE
  101. Out = FALSE
  102. Key = "Proxy-Authorization: Send password to proxy server"
  103. Replace = "basic cHJveHl1c2VyOnByb3h5cGFzcw=="
  104.  
  105. In = FALSE
  106. Out = TRUE
  107. Key = "Referer: Hide where we've been (Out)"
  108. Match = "*"
  109. Replace = "\u"
  110.  
  111. In = FALSE
  112. Out = FALSE
  113. Key = "Set-cookie: Never accept cookies (In)"
  114. Match = "*"
  115.  
  116. In = FALSE
  117. Out = TRUE
  118. Key = "URL-Killer: kill-a-URL (out)"
  119. URL = "adex*flycast|*burstnet.com"
  120. Replace = "This connection has been axed\k"
  121.  
  122. In = FALSE
  123. Out = TRUE
  124. Key = "User-Agent:"
  125. Match = "*"
  126. Replace = "SpaceBison/0.01 [fu] (Win67; X; ShonenKnife)"
  127.  
  128. In = FALSE
  129. Out = FALSE
  130. Key = "WWW-Authenticate: filter out password requests (in)"
  131. Match = "Basic*realm="*""
  132.  
  133. In = FALSE
  134. Out = FALSE
  135. Key = "X-Forwarded-For:"
  136. Replace = "yahoo.com, microsoft.com, netscape.com, aol.com, \h"
  137.  
  138.  
  139. [Patterns]
  140. Name = "Banner Replacer"
  141. Active = FALSE
  142. Bounds = "<a\s*</a>"
  143. Limit = 800
  144. Match = "\0<img (\1border=\w|) \2 src=\w (\3border=\w|) \4"
  145.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  146.         "(*width=[#460-480] & *height=[#55-60])|"
  147.         "(*width=[#88] & *height=[#31]))*"
  148. Replace = "\0<img \1 border=1 \2 src=\dclear.gif \3 \4"
  149.  
  150. Name = "Banner Blaster (limit text)"
  151. Active = TRUE
  152. Multi = TRUE
  153. Bounds = "<a\s*</a>|<input*>"
  154. Limit = 800
  155. Match = "\1<(img|image|input)*>\3"
  156.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  157.         "*http://*<im(g|age)\s(*width=[#460-480] & *height=[#55-60]|"
  158.         "*width=[#88] & *height=[#31]|"
  159.         "*src=\w(cgi|\?)\w) *>)*"
  160.         "&(*alt="(([^" ]+\s[^" ]+\s[^" ]+\s[^" ]+)\2\s*|\2)"|)"
  161. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  162.  
  163. Name = "Banner Blaster (full text)"
  164. Active = FALSE
  165. Multi = TRUE
  166. Bounds = "<a\s*</a>|<input*>"
  167. Limit = 800
  168. Match = "\1<(img|image|input)*>\3"
  169.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  170.         "*http://*<img\s(*width=[#460-480] & *height=[#55-60]|"
  171.         "*width=[#88] & *height=[#31]|"
  172.         "*src=\wcgi\w) *>)*"
  173.         "&(*alt="\2"|)"
  174. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  175.  
  176. Name = "Area Map Ad Blaster"
  177. Active = TRUE
  178. Multi = TRUE
  179. Bounds = "<img\s[^>]+> <map\s*</map>"
  180. Limit = 800
  181. Match = "<img*usemap*>*"
  182.         "&*(ads.|log_click|/ad|clickthru|(banner|ad|acct|source|click)(id|)=|adbanner|clicker|sponsor|adver|promo|redirect)*"
  183.         "&*<map*<area (*href=(\w)\1 & (*alt="\2'|))*>\3</map>"
  184. Replace = "<br><killmap><font size=1><a href=\1>[\2]</a></font>\3</killmap>"
  185.  
  186. Name = "Area Map Ad Blaster pt2 (show all links)"
  187. Active = TRUE
  188. Multi = TRUE
  189. Bounds = "<killmap>*</killmap>"
  190. Limit = 800
  191. Match = "\1 <area (*href=(\w)\2 & (*alt="(?????????????)\3*|\3'|))*> \4"
  192. Replace = " \1 <font size=1><a href=\2 >[\3]</a></font> \4 "
  193.  
  194. Name = "Kill JavaScript Banners"
  195. Active = TRUE
  196. Bounds = "<script*</script>"
  197. Limit = 5000
  198. Match = "*(doubleclick|flycast|burstnet)*|"
  199.         "(*document.write*<img*</a>*&*/ads/*)"
  200. Replace="<!-- JS Banner Killed -->"
  201.  
  202. Name = "Kill Hyper Banner"
  203. Active = TRUE
  204. Bounds = "<applet\s*</applet>"
  205. Limit = 5000
  206. Match = "*code=("|)(movie|WSSApplet|hyper).class*"
  207. Replace = "<font size=1>[JavaApp Killed]</font><br>"
  208.  
  209. Name = "Counter Killer"
  210. Active = FALSE
  211. Bounds = "<img\s*>"
  212. Limit = 256
  213. Match = "*src=("|)(\wcount|http://\w(cgi-bin|\?))*"
  214. Replace = " <font size=1>[000]</font> "
  215.  
  216. Name = "Webpage Background Killer"
  217. Active = FALSE
  218. Multi = TRUE
  219. Limit = 200
  220. Match = "<body \1background=\2>"
  221. Replace = "<body \1nobak=\2>"
  222.  
  223. Name = "Webpage Background Replacer"
  224. Active = FALSE
  225. Multi = TRUE
  226. Limit = 200
  227. Match = "<body ( \1 background=\w|) \2>"
  228. Replace = "<body \1 background="\dblack.gif" \2>"
  229.  
  230. Name = "Kill All Backgrounds (even tables)"
  231. Active = FALSE
  232. Limit = 20
  233. Match = "background="
  234. Replace = "nobak="
  235.  
  236. Name = "Sounds to links"
  237. Active = FALSE
  238. Bounds = "<embed\s*>|<bgsound\s*>"
  239. Limit = 256
  240. Match = "*src=("*'|\w)\1&(*type=(\w)\2|)*"
  241. Replace = "<a href=\1 >[\2]</a>"
  242.  
  243. Name = "Sound Silencer"
  244. Active = FALSE
  245. Limit = 20
  246. Match = "<(embed|bgsound)\s"
  247. Replace = "<keepquiet "
  248.  
  249. Name = "Embedded MIDI Silencer"
  250. Active = TRUE
  251. Bounds = "<embed\s*>"
  252. Limit = 256
  253. Match = "*src=("*'|\w)\1&(*(type=\w)\2|)*"
  254. Replace = "<embed src=\1 height=15 controls="smallconsole" \2 >"
  255.  
  256. Name = "Blink Buster (Blink to Bold)"
  257. Active = TRUE
  258. Limit = 20
  259. Match = "<(/|)\1blink>"
  260. Replace = "<\1b>"
  261.  
  262. Name = "Freeze font's face"
  263. Active = FALSE
  264. Limit = 80
  265. Match = "<font\s\1face=\2>"
  266. Replace = "<font \1ecaf=\2>"
  267.  
  268. Name = "Onload unloader"
  269. Active = FALSE
  270. Limit = 20
  271. Match = "onload="
  272. Replace = "LoadOff="
  273.  
  274. Name = "OnUnload unloader"
  275. Active = TRUE
  276. Multi = TRUE
  277. Bounds = "<body\s*>"
  278. Limit = 300
  279. Match = "\1 onunload=\2"
  280. Replace = "\1 UnLoadOff=\2"
  281.  
  282. Name = "Kill All pop-up windows"
  283. Active = TRUE
  284. Limit = 4096
  285. Match = "<start>"
  286. Replace = "<script> "
  287.           "PrxRealOpen=window.open; "
  288.           "function PrxNullWin(){this.window;} "
  289.           "function PrxOpen(url,nam,atr){return(new PrxNullWin());} "
  290.           "window.open=PrxOpen;"
  291.           "</script>\r\n"
  292.  
  293. Name = "Restore pop-up windows after page loads"
  294. Active = TRUE
  295. Limit = 256
  296. Match = "<end>"
  297. Replace = "<script> window.open=PrxRealOpen; </script>\r\n"
  298.  
  299. Name = "Link De-Obfuscator"
  300. Active = TRUE
  301. Limit = 50
  302. Match = "onmouseover=("*.status=)\1"
  303. Replace = "nomouseover=\1"
  304.  
  305. Name = "Anti-Auto-Refresher"
  306. Active = FALSE
  307. Bounds = "<meta\s*>"
  308. Limit = 200
  309. Match = "*http-equiv=("|)refresh(*url=([^"' ]+)\1|)*"
  310. Replace = "<center><font size=1><a href=\1 >[Refresh]</a></font></center>"
  311.  
  312. Name = "Wordwrap all form textboxes"
  313. Active = TRUE
  314. Limit = 128
  315. Match = "<textarea\s\1>"
  316. Replace = "<textarea wrap=soft \1>"
  317.  
  318. Name = "GeoCities branding killer"
  319. Active = FALSE
  320. URL = "*.geocities."
  321. Limit = 2500
  322. Match = "<div class="geobranding*</script>"
  323. Replace = "<font size=1>[GeoBrand killed]</font>"
  324.  
  325. Name = "Kill add-on JavaScripts "
  326. Active = TRUE
  327. Multi = TRUE
  328. Bounds = "</body>*</script>"
  329. Limit = 1024
  330. Match = "\1<script*"
  331. Replace = "<font size=1>[PostScript Killed]</font><br>\r\n"
  332.           "\1\n"
  333.  
  334. Name = "Suppress all JavaScript errors"
  335. Active = TRUE
  336. Limit = 4096
  337. Match = "<start>"
  338. Replace = "<script> function NoError(){return(true);} onerror=NoError; </script>\n"
  339.  
  340. Name = "Kill alert/confirm boxes"
  341. Active = TRUE
  342. Multi = TRUE
  343. Limit = 4096
  344. Match = "<start>"
  345. Replace = "<script> "
  346.           "function NoBox(txt){ return(1);} "
  347.           "window.alert=NoBox; window.confirm=NoBox; "
  348.           "</script>\n"
  349.  
  350. Name = "Stop status bar scrollers"
  351. Active = FALSE
  352. Limit = 4096
  353. Match = "<start>"
  354. Replace = "<script> function status(txt){return(1);} </script>\n"
  355.  
  356. Name = "Kill Dynamic HTML JavaScripts"
  357. Active = FALSE
  358. Limit = 4096
  359. Match = "<start>"
  360. Replace = "<script> function NoWrite(txt){return(1);} "
  361.           "document.write=NoWrite; "
  362.           "document.writeln=NoWrite; "
  363.           "</script>\n"
  364.  
  365. Name = "Stop JavaScript Timers"
  366. Active = FALSE
  367. Limit = 4096
  368. Match = "<start>"
  369. Replace = "<script> function setTimeout(x,y){return(null);} </script>\n"
  370.  
  371. Name = "Disable JavaScript"
  372. Active = FALSE
  373. Limit = 256
  374. Match = "<script*>"
  375. Replace = "<script language="ShonenScript 712.0">"
  376.  
  377. Name = "Kill Nosey JavaScripts"
  378. Active = FALSE
  379. Bounds = "<script*</script>"
  380. Limit = 16000
  381. Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|external)|history.length)*"
  382. Replace = "<!-- Killed Nosey JavaScript -->"
  383.  
  384. Name = "Disable JavaScript cookies"
  385. Active = FALSE
  386. Limit = 128
  387. Match = ".cookie(*[(;)])\1"
  388. Replace = ".Cracker\1"
  389.  
  390. Name = "Hide Browser's Referrer from JS"
  391. Active = TRUE
  392. Limit = 15
  393. Match = ".referrer"
  394. Replace = ".referrer.substr(0,0)+"http://www.mmjp.or.jp/knife/""
  395.  
  396. Name = "Hide Browser's Version from JS"
  397. Active = FALSE
  398. Limit = 25
  399. Match = "navigator.appVersion"
  400. Replace = "'2.1'"
  401.  
  402. Name = "Hide Browser's Identity from JS"
  403. Active = FALSE
  404. Limit = 25
  405. Match = "navigator.(appName|userAgent)"
  406. Replace = "'ShonenScape'"
  407.  
  408. Name = "Kill the worst Pop-Up windows"
  409. Active = FALSE
  410. Multi = TRUE
  411. Bounds = "<script*</script>"
  412. Limit = 1024
  413. Match = "\1(window.open|open) \(\2"
  414. Replace = "\n\1 null; foo=(\2"
  415.  
  416. Name = "Kill window.external methods"
  417. Active = TRUE
  418. Limit = 40
  419. Match = "window.external.[^(]+"
  420. Replace = "null; "
  421.  
  422. Name = "Stop OnMouseOver events"
  423. Active = FALSE
  424. Limit = 20
  425. Match = "onmouseover="
  426. Replace = "OnPheasantOver="
  427.  
  428. Name = "Frame Jumper-Outer"
  429. Active = TRUE
  430. Multi = TRUE
  431. Bounds = "<a\s*>"
  432. Limit = 128
  433. Match = "<a\s\0 (href=("|)http:\w)\1 \2>"
  434. Replace = "<a target=_top \0 \1 \2>"
  435.  
  436. Name = "Kill Style Sheets"
  437. Active = FALSE
  438. Limit = 4096
  439. Match = "<style*</style>"
  440. Replace = "<!-- style sheet killed -->"
  441.  
  442. Name = "Kill Layers"
  443. Active = TRUE
  444. Limit = 20
  445. Match = "<(/|)\1(layer|ilayer)"
  446. Replace = "<\1PeelLayer"
  447.  
  448. Name = "iFrame/iLayer to link"
  449. Active = FALSE
  450. Bounds = "<iframe\s*</iframe>|<ilayer\s*</ilayer>"
  451. Limit = 1000
  452. Match = "<(iframe|ilayer)\0*src=(\w)\1*"
  453. Replace = "<font size=1><a target=_blank href=\1 >[\0]</a></font>"
  454.  
  455. Name = "Frame Exploder"
  456. Active = FALSE
  457. Multi = TRUE
  458. Limit = 4096
  459. Match = "<start>"
  460. Replace = "<script> "
  461.           "if (top.location != location){"
  462.           "window.open(location.href); window.close(); "
  463.           "} </script>"
  464.  
  465. Name = "Allow for frame resizing"
  466. Active = FALSE
  467. Bounds = "<frame*>"
  468. Limit = 256
  469. Match = "<(frameset|frame)\0\s ("
  470.         "(*((rows|cols)=("*"|\w))\1|)&(*(name=("*"|\w))\2|)"
  471.         "&(*(src=\w)\3|)&(*(scrolling=\w)\4|)"
  472.         "&(*(marginwidth=\w)\5|)&(*(marginheight=\w)\6|))*>"
  473. Replace = "<\0 \1 \2 \3 \4 \5 \6 border="1" >"
  474.  
  475. Name = "DeFramer"
  476. Active = FALSE
  477. Limit = 40
  478. Match = "<(/|)\1(frameset|noframes)"
  479. Replace = "<\1NoFrameset"
  480.  
  481. Name = "Convert Frames to Links"
  482. Active = FALSE
  483. Limit = 256
  484. Match = "<frame\s*src=(\w)\1 *>"
  485. Replace = "<body><font size=2><a href=\1>Frame:\1</a></font><br></body>"
  486.  
  487. Name = "DeTabler"
  488. Active = FALSE
  489. Limit = 200
  490. Match = "<(/|)t(able|r)*>"
  491. Replace = "<p>"
  492.  
  493. Name = "Table width unlimiter"
  494. Active = FALSE
  495. Limit = 256
  496. Match = "<(table|td)\0\s\1width=[#500-*]\2>"
  497. Replace = "<\0 \1\2>"
  498.  
  499. Name = "Skinnier Table Border"
  500. Active = FALSE
  501. Limit = 128
  502. Match = "<table\s\1border=[#4-*]\2>"
  503. Replace = "<table \1border=3\2>"
  504.  
  505. Name = "Foreign content-type filter"
  506. Active = FALSE
  507. Bounds = "<meta\s*>"
  508. Limit = 256
  509. Match = "*http-equiv="content-type"*charset=*"
  510. Replace = "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">"
  511.  
  512.  
  513. [Proxies]
  514.  
  515.  
  516.